package cn.edu.scnu.lastandroid.logic.network

import cn.edu.scnu.lastandroid.WeatherApplication
import cn.edu.scnu.lastandroid.logic.model.PlaceResponse
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query

interface PlaceService {
    @GET("v2/city/lookup?key=${WeatherApplication.PrivateKey}")
    fun searchPlaces(@Query("location") query: String) : Call<PlaceResponse>
}